Using Design Pattern Clues to Improve the Precision of Design Pattern Detection Tools

نویسندگان

  • Francesca Arcelli Fontana
  • Marco Zanoni
  • Stefano Maggioni
چکیده

Design pattern detection, or rather the detection of structures that match design patterns, is useful for reverse engineering, program comprehension and for design recovery as well as for re-documenting object-oriented systems. Finding design patterns inside the code gives hints to software engineers about the methodologies adopted and the problems found during its design phases, and helps the engineers to evolve and maintain the system. In this paper, we present the results provided by four different design pattern detection tools on the analysis of JHotDraw 6.0b1, a well-known Java GUI framework. We show that the tools generally provide different results, even while evaluating the same system. From this observation, we introduce an approach based on micro structures detection that aims to discard the false positives from the detected results, hence improving the precision of the analyzed tools results. For this purpose we exploit a set of micro structures called design pattern clues, which give useful hints for the detection of design patterns.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Design and implementation of Persian spelling detection and correction system based on Semantic

Persian Language has a special feature (grapheme, homophone, and multi-shape clinging characters) in electronic devices. Furthermore, design and implementation of NLP tools for Persian are more challenging than other languages (e.g. English or German). Spelling tools are used widely for editing user texts like emails and text in editors.  Also developing Persian tools will provide Persian progr...

متن کامل

Legibility of the cities and the factors having impacts on it

How to design a city more legible is one of the main problems in urban design. To define the parameters that are crucial in designing legible cities is the main debate of this article. The research methodology was studying mental maps of the city dwellers and comparing the group image of the city with the pattern of continuity of salient elements and integration of the urban axes using Space Sy...

متن کامل

Design of Air Distribution System for Operation Theatre Using Flow Visualization Techniques to Improve Flow Characteristics

Operation Theatre (OT) is the most important area where precise controlled on indoor air quality is required because it is directly related to patient health and its recovery period. This work aims to study and visualize the airflow distribution of conventional flat air diffuser ventilation system and newly designed angular air ventilation system in OT. Angular Air Distribution (AAD) system is ...

متن کامل

Improving UML Designs Using Automatic Design Pattern Detection

Design patterns are considered one of the most valuable tools to produce quality designs and a general-purpose technique to improve a design is to identify all pattern realizations and to apply well-known rules to improve them. This technique requires finding all pattern realizations used in a design and it is a rather tedious task. This paper shows the work in the literature on assistants for ...

متن کامل

Explaining Pattern-Based Reading in TeachingArchitectural History and Evaluating its Effectivenesson Architecture Students’ Ideation and Insights

In the following article, the necessity of effectiveness and application of historicalknowledge in architectural design is discussed. In other words, how historical data canbe an approach to enhance students’ design insights. A review of the literature suggeststhat one of the challenges of teaching architecture is helping students in the process ofcreating new ideas. Accordingly, one of the pro...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:
  • Journal of Object Technology

دوره 10  شماره 

صفحات  -

تاریخ انتشار 2011